﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Model.eums;

namespace Model.Model;

[Table("User")]
public class LoginModel : ModelBase
{
    [Required] [MaxLength(255)] public string? UserName { get; set; }
    [Required] [MaxLength(255)] public string? Account { get; set; }
    [Required] [MaxLength(255)] public string? Password { get; set; }
    public DateTime CreateDateTime { get; set; }
    public Auth Auth { get; set; }
}